package com.pingan.haofang.searchcloud.monitor.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 索引视图响应体
 *
 * @author EX-ZHOUYONG005
 * @date 2018-10-26
 */
@ApiModel(description = "索引视图响应体")
public class DashboardIndexItemInfoQueryResult {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("数据日期")
    private Date dataDate;

    @ApiModelProperty("项目id")
    private Long projectId;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("索引id")
    private Long indexId;

    @ApiModelProperty("索引名称")
    private String indexName;

    @ApiModelProperty("数据源数量")
    private Integer datasourceNum;

    @ApiModelProperty("索引总量")
    private Integer recordTotalNum;

    @ApiModelProperty("索引总耗时")
    private Integer recordTotalCost;

    @ApiModelProperty("记录平均耗时")
    private Integer avgCost;

    @ApiModelProperty("状态 0：待执行 1：执行中 2：成功 3：失败")
    private Integer status;

    @ApiModelProperty("状态 0：待执行 1：执行中 2：成功 3：失败")
    private String statusFommat;

    @ApiModelProperty("运行类型 0：定时触发 1：人工触发")
    private Integer runType;

    @ApiModelProperty("运行类型 0：定时触发 1：人工触发")
    private String runTypeFomamt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getDataDate() {
        return dataDate;
    }

    public void setDataDate(Date dataDate) {
        this.dataDate = dataDate;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Long getIndexId() {
        return indexId;
    }

    public void setIndexId(Long indexId) {
        this.indexId = indexId;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public Integer getDatasourceNum() {
        return datasourceNum;
    }

    public void setDatasourceNum(Integer datasourceNum) {
        this.datasourceNum = datasourceNum;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getRecordTotalNum() {
        return recordTotalNum;
    }

    public void setRecordTotalNum(Integer recordTotalNum) {
        this.recordTotalNum = recordTotalNum;
    }

    public Integer getRecordTotalCost() {
        return recordTotalCost;
    }

    public void setRecordTotalCost(Integer recordTotalCost) {
        this.recordTotalCost = recordTotalCost;
    }

    public Integer getAvgCost() {
        return avgCost;
    }

    public void setAvgCost(Integer avgCost) {
        this.avgCost = avgCost;
    }

    public Integer getRunType() {
        return runType;
    }

    public void setRunType(Integer runType) {
        this.runType = runType;
    }

    public String getStatusFommat() {
        return statusFommat;
    }

    public void setStatusFommat(String statusFommat) {
        this.statusFommat = statusFommat;
    }

    public String getRunTypeFomamt() {
        return runTypeFomamt;
    }

    public void setRunTypeFomamt(String runTypeFomamt) {
        this.runTypeFomamt = runTypeFomamt;
    }
}
